package com.dlsp.hotel.mapper;

import com.dlsp.hotel.bean.RoomType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author:fanxh
 * @date: 2022/1/1/20:14
 * 房型mapper
 */
@Mapper
public interface RoomTypeMapper {
    public int add(RoomType roomType);
    public int edit(RoomType roomType);
    public int delete(Long id);
    public List<RoomType> findList(Map<String, Object> queryMap);
    public Integer getTotal(Map<String, Object> queryMap);
    public List<RoomType> findAll();
    public RoomType find(Long id);
    public int updateNum(RoomType roomType);

}
